POV-Ray : Newsgroups : povray.binaries.images : Lame attempt at a povray image : Lame attempt at a povray image Server Time
17 Aug 2024 00:13:35 EDT (-0400)
  Lame attempt at a povray image  
From: David Findlay
Date: 30 Nov 2001 21:40:04
Message: <3c0842f4@news.povray.org>
Here's my picture of Mars. It's just a sphere with an image mapped on to 
it. Anyone know how I can get the atmosphere better? Thanks

David

#include "colors.inc"
#include "shapes.inc"
#include "finish.inc"
#include "glass.inc"
#include "metals.inc"
#include "stones.inc"
#include "woods.inc"

camera { 
        location <-1,4,10>
        look_at <0,2,2>
        }

light_source {
        <-1,0,20>
        colour <1,1,1>
}

sphere {
        <0,0,0>, 2
        pigment { 
                image_map {
                        tga "mars.tga"
                        map_type 1
                        once
                }
                rotate <-20,120,-20>
        }
        translate <0,2,2>
        finish { diffuse 1 }
}

sphere {
        <0,0,0>, 2.1
        pigment {
                color rgbt <1, 0.7, 0.7, 0.95>  
        }
        translate <0,2,2>
        finish { diffuse 5 }
}


Post a reply to this message


Attachments:
Download 'mars.jpg' (29 KB)

Preview of image 'mars.jpg'
mars.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.